博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kindeditor 代码高亮设置
阅读量:4613 次
发布时间:2019-06-09

本文共 487 字,大约阅读时间需要 1 分钟。

个人博客 ,没有代码高亮还是不行。 

    var options = {
cssPath: ['/static/kindeditor/plugins/code/prettify.css',],

 

再设置一下css :

pre.prettyprint {
border: 0; border-left: 3px solid rgb(204, 204, 204); margin-left: 2em; padding: 0.5em; display: block; margin: 1em 0px; white-space: pre; word-break:break-all; word-wrap: break-word; word-break: normal; }

 

 

 

 

 

 

转载于:https://www.cnblogs.com/yeelone/archive/2013/01/10/2854895.html

你可能感兴趣的文章
纯js事件注册方法(解决兼容性)
查看>>
Ultimate Facebook Messenger for Business Guide (Feb 2019)
查看>>
博客开通第77天
查看>>
[git] warning: LF will be replaced by CRLF | fatal: CRLF would be replaced by LF
查看>>
mysql索引详解
查看>>
Log4j maven依赖配置
查看>>
HDU-4472 Count 递推
查看>>
活用这25种图表效果,你的数据可视化也能变得高级酷炫
查看>>
Azure PowerShell (12) 通过Azure PowerShell创建SSH登录的Linux VM
查看>>
[New Portal]Windows Azure Virtual Machine (16) 使用Azure PowerShell创建Azure Virtual Machine
查看>>
GMM模型
查看>>
unity3d log管理
查看>>
scp与rsync限速
查看>>
实验2-1-5 将x的平方赋值给y
查看>>
利用spring boot+vue做的一个博客项目
查看>>
595. 大的国家
查看>>
【原创】JQWidgets-TreeGrid 1、快速入门
查看>>
高精度库(支持小数、负数、整数、判断质数、阶乘、孪生质数等)
查看>>
VMDNAMD命令规则(转载)
查看>>
noip2014 -- D1 -- 1
查看>>